<?php
class Measures extends AppModel 
{
	public $name="Measures";
	public $belongsTo = array(
        'Periods','Members','Services'
    );
	/*
$date = date('Y-m-d', strtotime( $this->data['Events']['date']));
        $this->data['Events']['date']=$date;
*/
  public function beforeSave($options=array())
  {
    $date = date('Y-m-d', strtotime( $this->data['Measures']['control_date']));
    $this->data['Measures']['control_date']=$date;
    
    return true;
  }





}